package com.zp.business.mapper.prescription;

import com.zp.business.api.prescription.PrescriptionItem;
import com.zp.business.api.prescription.bo.PrescriptionItemBo;
import com.zp.business.api.prescription.vo.PrescriptionItemVo;
import com.zp.common.myBatis.core.mapper.BaseMapperPlus;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 处方子prescription_itemMapper接口
 *
 * @author zhang peng
 * @ date 2024-03-22
 */
@Repository
public interface PrescriptionItemMapper extends BaseMapperPlus<PrescriptionItemMapper, PrescriptionItem, PrescriptionItemVo> {


    /**
     * 获取药品明细汇总
     *
     * @param bo
     * @return
     */
    List<PrescriptionItemVo> getSummary(PrescriptionItemBo bo);

}
